package com.woniu.supermarket.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.woniu.supermarket.entity.Shop;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;


@ApiModel(description = "销售详情订单信息")
@Data
@ToString
public class exportDealSummaryVo implements Serializable {


    @ApiModelProperty(value = "id")
    @ExcelIgnore
    private Integer id;

    @ApiModelProperty(value = "表单时间详情")
    @ExcelProperty(value = "日期", index = 0)
    private String dateTime;

    @ApiModelProperty(value = "年")
    @ExcelProperty(value = "年", index = 1)
    private Integer year;

    @ApiModelProperty(value = "月")
    @ExcelProperty(value = "月", index = 2)
    private Integer month;

    @ApiModelProperty(value = "日")
    @ExcelProperty(value = "日", index = 3)
    private Integer day;



    @ApiModelProperty(value = "销售数量")
    @ExcelProperty(value = "销售数量", index = 4)
    private Integer saleAmount;

    @ApiModelProperty(value = "销售金额")
    @ExcelProperty(value = "销售金额", index = 5)
    private Integer salePrice;

    @ApiModelProperty(value = "退货数量")
    @ExcelProperty(value = "销售金额", index = 6)
    private Integer saleReturnAmount;

    @ApiModelProperty(value = "退款金额")
    @ExcelProperty(value = "销售金额", index = 7)
    private Integer saleReturnPrice;

    @ApiModelProperty(value = "数量小计")
    @ExcelProperty(value = "数量小计", index = 8)
    private Integer quantitySubtotal;

    @ApiModelProperty(value = "金额小计")
    @ExcelProperty(value = "金额小计", index = 9)
    private Integer amountSubtotal;

     /*  @ApiModelProperty(value = "门店")需要使用Converter
    @ExcelProperty(value = "门店", index = 4)
    private Shop shop;*/

}
